/* 1. 引入 axios模块 */
import axios from "../myaxios/myaxios";
/* 获取首页轮播图数据 */
export const getSwiperData = ()=> axios.get("home/swiperdata");
/* 首页首页图片导航 */
export const getNavImgs = ()=>axios.get("home/catitems")
/* 首页的图片的列表 */
export const getHomeFloorData = ()=> axios.get("home/floordata")
/* 搜索产品接口 */
export const getProdcutList = (params) => axios.get("goods/qsearch",{
    params:params
})
/* 获取产品列表数据 */
export const getProductListData = (params) => axios.get("goods/search",{
    params:params
})
/* 获取分类的数据 */
export const getCategories = () => axios.get("categories")